package chapter030;

class Studento {
    String name;

    {
        System.out.println("我是构造代码块");
    }

    public Studento() {
        System.out.println("我是Student类构造方法");
    }
}

public class Example12 {
    public static void main(String[] args) {
        Studento stu1 = new Studento();
        Studento stu2 = new Studento();
    }
}